
import model.Game;
import model.Hockeyist;
import model.Move;
import model.World;

/**
 *
 * @author Constantine Tretyak
 */
public class Holyday extends AbstractStrategy {

    public Holyday(Hockeyist self, World world, Game game, Move move) {
        super(self, world, game, move);
    }

    @Override
    public void run() {
        moving.moveTo(new Point(15, coords.getXcoord(0.5), coords.getYcoord(Math.signum(self.getTeammateIndex() - 1) * 0.5d)), puck);
    }

}
